package com.toutiao.dao.model;



/**
 *
 */
public class RechargeOrder {

	/**
	 *UUID
	 */
	private Integer id;

	/**
	 *用户
	 */
	private Integer userId;

	/**
	 *金额
	 */
	private java.math.BigDecimal money;

	/**
	 *创建时间
	 */
	private java.util.Date createTime;

	/**
	 *更新时间
	 */
	private java.util.Date modifyTime;

	/**
	 *1:支付宝 2:微信
	 */
	private Integer platform;

	/**
	 *实付额
	 */
	private java.math.BigDecimal realPay;

	/**
	 *流水号
	 */
	private String tradeNo;

	/**
	 *买家
	 */
	private String buyer;

	/**
	 * 0:待付款1付款成功
	 */
	private Integer state;

	public void setId(Integer id) {
		this.id=id;
	}

	public Integer getId() {
		return id;
	}

	public void setUserId(Integer userId) {
		this.userId=userId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setMoney(java.math.BigDecimal money) {
		this.money=money;
	}

	public java.math.BigDecimal getMoney() {
		return money;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime=createTime;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setModifyTime(java.util.Date modifyTime) {
		this.modifyTime=modifyTime;
	}

	public java.util.Date getModifyTime() {
		return modifyTime;
	}

	public void setPlatform(Integer platform) {
		this.platform=platform;
	}

	public Integer getPlatform() {
		return platform;
	}

	public void setRealPay(java.math.BigDecimal realPay) {
		this.realPay=realPay;
	}

	public java.math.BigDecimal getRealPay() {
		return realPay;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo=tradeNo == null ? tradeNo : tradeNo.trim();
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setBuyer(String buyer) {
		this.buyer=buyer == null ? buyer : buyer.trim();
	}

	public String getBuyer() {
		return buyer;
	}

	public void setState(Integer state) {
		this.state=state;
	}

	public Integer getState() {
		return state;
	}

}
